import request from '@/utils/request'

/**
 * 获取app版本列表
 */
export function getAppVersionList(data) {
  return request({
    url: '/AppVersion/getAppVersionList',
    method: 'post',
    data
  })
}


export function addAppVersion(data) {
  return request({
    url: '/AppVersion/addAppVersion',
    method: 'post',
    data
  })
}

export function updateAppVersion(data) {
  return request({
    url: `/AppVersion/updateAppVersion`,
    method: 'post',
    data
  })
}

export function deleteAppVersion(id) {
  return request({
    url: `/AppVersion/deleteAppVersion?id=` + id,
    method: 'post'
  })
}
